class Panel < ActiveRecord::Base
	belongs_to :user
	has_many :tables

	#display pagination
	WillPaginate::ViewHelpers.pagination_options[:prev_label] = 'preview'
	WillPaginate::ViewHelpers.pagination_options[:next_label] = 'next'

	def self.per_page
		1
	end
end
